//
//  ZCRaiseResultVC.m
//  zctx
//
//  Created by 郭亚京 on 15/10/9.
//  Copyright © 2015年 sanliang. All rights reserved.
//

#import "ZCRaiseResultVC.h"

@interface ZCRaiseResultVC ()

@end

@implementation ZCRaiseResultVC

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [MobClick beginLogPageView:@"ZCRaiseResultVC"];
    [MTA trackPageViewBegin:@"ZCRaiseResultVC"];
}
- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [MobClick endLogPageView:@"ZCRaiseResultVC"];
    [MTA trackPageViewEnd:@"ZCRaiseResultVC"];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self initNavegation];
    self.view.backgroundColor = [UIColor colorWithHexString:@"#ebeded"];
}

#pragma mark 导航栏
-(void)initNavegation {
    
    UIButton * leftButton = [UIButton buttonWithType:UIButtonTypeCustom];
    leftButton.frame = CGRectMake(0, 0, 19, 36);
    [leftButton setImage:[UIImage imageNamed:@"navigation_back@2x"] forState:UIControlStateNormal];
    [leftButton addTarget:self action:@selector(backButtonPressed) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem * barButtonItem_leftNavBar = [[UIBarButtonItem alloc] initWithCustomView:leftButton];
    self.navigationItem.leftBarButtonItem = barButtonItem_leftNavBar;
}

- (void)backButtonPressed{

    [self.navigationController popViewControllerAnimated:YES];
}

@end
